package com.joysuch.wwyt.bp.repository;

import com.joysuch.wwyt.bp.entity.risk.BpTeamSafeDeviceDetail;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface BpTeamSafeDeviceDetailRepository extends JpaRepository<BpTeamSafeDeviceDetail, Long> {


    void deleteByDeviceId(Long deviceId);

    List<BpTeamSafeDeviceDetail> findByDeviceId(Long deviceId);
}
